import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/textbook_list_entity.g.dart';


@JsonSerializable()
class TextbookListEntity {
  TextbookListEntity();

  factory TextbookListEntity.fromJson(Map<String, dynamic> json) => $TextbookListEntityFromJson(json);
  String? id;
  String? companyCode;
  String? textbookName;
  String? textbookId;
  String? textbookKeywords;
  String? textbookTypeDicId;
  String? textbookLecturerId;
  String? textbookLecturerName;
  String? textbookForm;
  String? textbookDateStart;
  int? textbookApproAch;
  String? textbookCrowd;
  String? textbookOverview;
  int? viewNumber;
  String? createBy;
  String? createById;
  String? createDate;
  String? updateBy;
  String? updateById;
  String? updateDate;
  String? deleted;
  String? textbookCover;
  ///是否存在目录
  int? isDirectory;
  ///是否存在试题
  int? isQuestion;
  Map<String, dynamic> toJson() => $TextbookListEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
